from django.shortcuts import render

# Create your views here.
from login.models import Test


def hello(request):

    # 修改数据库数据
    tt = Test.objects.get(id=1)
    tt.name = 'test111'
    tt.save()

    return render(request, 'login/index.html')
